runtime.addrRange.limit (field)
30 uses
runtime (current package)
mpagealloc.go#L469: for i := chunkIndex(r.base.addr()).l1(); i < chunkIndex(r.limit.addr()-1).l1(); i++ {
mpagealloc_64bit.go#L110: sumIdxBase, sumIdxLimit := addrsToSummaryRange(level, r.base.addr(), r.limit.addr())
mranges.go#L27: base, limit offAddr
mranges.go#L43: if !a.base.lessThan(a.limit) {
mranges.go#L48: return a.limit.diff(a.base)
mranges.go#L53: return a.base.lessEqual(offAddr{addr}) && (offAddr{addr}).lessThan(a.limit)
mranges.go#L61: if b.base.lessEqual(a.base) && a.limit.lessEqual(b.limit) {
mranges.go#L63: } else if a.base.lessThan(b.base) && b.limit.lessThan(a.limit) {
mranges.go#L65: } else if b.limit.lessThan(a.limit) && a.base.lessThan(b.limit) {
mranges.go#L66: a.base = b.limit
mranges.go#L67: } else if a.base.lessThan(b.base) && b.base.lessThan(a.limit) {
mranges.go#L68: a.limit = b.base
mranges.go#L78: if base > a.limit.addr() {
mranges.go#L89: limit := alignDown(a.limit.addr()-len, uintptr(align))
mranges.go#L93: a.limit = offAddr{limit}
mranges.go#L103: if a.limit.lessEqual(offAddr{addr}) {
mranges.go#L349: print("runtime: range = {", hex(r.base.addr()), ", ", hex(r.limit.addr()), "}\n")
mranges.go#L355: coalescesDown := i > 0 && a.ranges[i-1].limit.equal(r.base)
mranges.go#L356: coalescesUp := i < len(a.ranges) && r.limit.equal(a.ranges[i].base)
mranges.go#L360: a.ranges[i-1].limit = a.ranges[i].limit
mranges.go#L368: a.ranges[i-1].limit = r.limit
mranges.go#L409: newEnd := r.limit.sub(nBytes)
mranges.go#L410: a.ranges[len(a.ranges)-1].limit = newEnd
mranges.go#L412: return addrRange{newEnd, r.limit}
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |